Mathematical Economics from Scratch